﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _6
{
    class Person
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Sex { get; set; }
        public int Cardid { get; set; }
        public int Tel { get; set; }

        public Person()
        {

        }
        public Person(int id, string name, string sex, int cardid,int tel)
        {
            this.Id = id;
            this.Name = name;
            this.Sex = sex;
            this.Cardid = cardid;
            this.Tel = tel;
        }
        public void Test()
        {
            Console.WriteLine("我的编号是{0}，我叫{1}，我是{2}的，我的身份证号是{3}，我的联系方式是{4}",Id,Name,Sex,Cardid,Tel);
        }
    }
}
